package com.borrowed.book.book.mapper;

import com.borrowed.book.book.domain.SGroup;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SGroupMapper {
    int insert(SGroup record);

    int insertSelective(SGroup record);

    int update(SGroup record);

    int delete(Long id);

    int selectBookCountByGroupId(Long id);

    List<SGroup> selectGroupList();

}